#include <stdio.h>
int main(int argc, char const *argv[])
{
    int year;
    printf("请输入一个年份>:");
    scanf("%d", &year);
    if ((year % 4 == 0) && (year % 100 != 0)||(year%400==0))
    {
        printf("%d这是闰年\n",year);
    }
    else
    {
        printf("%d这是平年\n",year);
    }

    return 0;
}
